#ifndef __TDBCABLETRY_H__
#define __TDBCABLETRY_H__

#include "TDbEntity.h"

class TELEC_API TDbCabletry : public TDbEntity
{
	TGRX_DECLARE_MEMBERS(TDbCabletry)

public:

	TDbCabletry();
	~TDbCabletry();

	virtual void WorldDraw(TGiWorldDraw& dc) const;
	virtual TENTTYPE Type() {return TGlobalDec::eCabletry;}

protected:

	void DrawCabletryOfC(TGiWorldDraw& dc) const;
	void DrawCabletryOfT(TGiWorldDraw& dc) const;
	void DrawCabletryOfP(TGiWorldDraw& dc) const;

	void DrawCube(TGiWorldDraw &dc,const AcGeVector3d &vtDir, const std::vector<AcGePoint3d> &pVerList, double dThick) const;
};

#endif